const http = require('../utils/http')

const HTTP = new http.HTTP()

// 获取文章详情
export function getDetail(id, callback) {
  let params = {
    id
  }
  HTTP.request('/activityContent/info/' + id, 'GET', params, res => {
    callback(res)
  })
}
export function activityContentPost(params, callback) {

  HTTP.request('/activityContent/post' , 'POST', params, res => {
    callback(res)
  })
}
